// index.js
const defaultAvatarUrl = 'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0'

Page({
  onLoad: function () {
    var that = this;
    setTimeout(()=>{
      that.showHomePage();
    },2000)
  },
  showHomePage: function(){
    wx.switchTab({
      url: '../foodPlan/foodPlan',
    })
  },
})
